<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <title>Loading...</title>
    <script src="release.js"></script>
    <script src="config.js"></script>
    <link rel="stylesheet" href="css/chunk-vendors.b512ffc0.css" />
    <link rel="stylesheet" href="css/chunk-common.d92432b1.css" />
    <link rel="stylesheet" href="css/index.css" />
    <link href="css/classMap.764b938a.css" rel="prefetch" />
    <link href="css/configurationBase.f0c024d9.css" rel="prefetch" />
    <link href="css/dataCheck.cc13de9c.css" rel="prefetch" />
    <link href="css/dataStore.f49d828b.css" rel="prefetch" />
    <link href="css/diagram.024bd318.css" rel="prefetch" />
    <link href="css/i-index-item.fd1dc728.css" rel="prefetch" />
    <link href="css/i-index.8d6b4857.css" rel="prefetch" />
    <link href="css/i-license.ae385ffc.css" rel="prefetch" />
    <link href="css/icon.4a59ea2d.css" rel="prefetch" />
    <link href="css/model.c6968d88.css" rel="prefetch" />
    <link href="css/system.6f735054.css" rel="prefetch" />
    <link href="css/visualModel.0fe0a34d.css" rel="prefetch" />
    <link href="js/ci.a05dda84.js" rel="prefetch" />
    <link href="js/classMap.44fb8513.js" rel="prefetch" />
    <link href="js/configurationBase.bbf1dd3b.js" rel="prefetch" />
    <link href="js/dataCheck.0dbc4d07.js" rel="prefetch" />
    <link href="js/dataStore.7ce06036.js" rel="prefetch" />
    <link href="js/dataStoreDetail.8aaf384f.js" rel="prefetch" />
    <link href="js/dataStoreEdit.2fe61874.js" rel="prefetch" />
    <link href="js/diagram.e26d93d9.js" rel="prefetch" />
    <link href="js/dict.43b7e77f.js" rel="prefetch" />
    <link href="js/i-index-item.90cb7970.js" rel="prefetch" />
    <link href="js/i-index.87f8bb49.js" rel="prefetch" />
    <link href="js/i-license.216fb6e4.js" rel="prefetch" />
    <link href="js/icon.0bb94fde.js" rel="prefetch" />
    <link href="js/log.8632024b.js" rel="prefetch" />
    <link href="js/model.ae94d73b.js" rel="prefetch" />
    <link href="js/org.ba653fc7.js" rel="prefetch" />
    <link href="js/relation.cc25ab33.js" rel="prefetch" />
    <link href="js/roles.62ce5c2e.js" rel="prefetch" />
    <link href="js/simulated.e69f3e26.js" rel="prefetch" />
    <link href="js/system.24eb2d28.js" rel="prefetch" />
    <link href="js/users.fa0704d5.js" rel="prefetch" />
    <link href="js/visualModel.ff86ffde.js" rel="prefetch" />
    <link href="css/chunk-vendors.b512ffc0.css" rel="stylesheet" />
    <link href="css/chunk-common.d92432b1.css" rel="stylesheet" />
    <link href="css/index.css" rel="stylesheet" />
    <link href="css/theme.css" rel="stylesheet" />
  </head>
  <body>
    <script type="module" src="js/chunk-vendors.js"></script>
    <script type="module" src="js/chunk-common.26c840b9.js"></script>
    <script type="module" src="js/index.8999fc40.js"></script>
    <div id="app"></div>
    <script>
      !(function () {
        var e = document,
          t = e.createElement("script");
        if (!("noModule" in t) && "onbeforeload" in t) {
          var n = !1;
          e.addEventListener(
            "beforeload",
            function (e) {
              if (e.target === t) n = !0;
              else if (!e.target.hasAttribute("nomodule") || !n) return;
              e.preventDefault();
            },
            !0
          ),
            (t.type = "module"),
            (t.src = "."),
            e.head.appendChild(t),
            t.remove();
        }
      })();
    </script>
    <script src="js/chunk-vendors-legacy.f4f0bcce.js" nomodule></script>
    <script src="js/chunk-common-legacy.a62919e0.js" nomodule></script>
    <script src="js/index-legacy.ba97385a.js" nomodule></script>

    <!-- html压缩工具 http://www.jsons.cn/jsforamt/ -->
    <script>
      (function colorChange() {
        console.log(window.location);
        function themeChange(value) {
          let mode = value.mode || "tint";
          let theme = value.theme || "purple";
          let mc = document.querySelector("body");
          mc && (mc.className = `${mode} ${theme}`);
        }
        window.addEventListener(
          "message",
          (e) => {
            // TODO 是否限制域名来源 e.origin
            if (e.data) {
              // console.log(e.origin);
              themeChange(JSON.parse(e.data));
            }
          },
          false
        );
      })();
    </script>
  </body>
</html>
